import { Component } from "react";
import { Button, Cell } from "@nutui/nutui-react-taro";
import "./index.scss";
import { useModel } from "@/store";
import Layout from "@/components/Layout";

export default () => {
  const { user, getUser } = useModel("user");

  return (
    <Layout title="个人中心">
    <div className="nutui-react-demo">
      <div className="index">欢迎使用 NutUI React 开发 Taro 多端项目。</div>
      <div className="index">
        <Button type="primary" className="btn">
          NutUI React Button
        </Button>
      </div>
    </div>
    </Layout>
  );
};
